<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ user.username }}</title>
    <link>
</head>
<body>
<form action="/im/update/" method="post">
   <table align="center">
       {% csrf_token %}
        {{ form.as_table }}
       <tr><td><input type="submit" value="更改"></td></tr>
    </table>
</form>




    <!--<tbody>-->
    <!--<tr><td>头像</td><td><img src="{{ user.avatar.url }}" width="30px" height="30px"></td></tr>-->
    <!--<tr><td>用户名</td><td>{{ user.username }}</td></tr>-->
    <!--</tbody>-->
</body>
</html>